import request from '@/utils/http';

/**
 * 获取某个字典的全部项，例如：order_status
 * @param dictType 字典类型
 * @returns
 */
export const fetchDictItems = (dictType: string) => {
  return request.get(`/dict/data/type/${dictType}`);
};
